package myzd.domain.constants;

/**
 * @author zks
 */
public interface PaymentStatus {
  int PAYMENT_NOT_PAID_1000 = 1000;
  int PAYMENT_PART_PAID_1500 = 1500;
  int PAYMENT_HAS_PAID_2000 = 2000;
  int PAYMENT_NO_NEED_TO_PAY_2010 = 2010;
  int PAYMENT_PROCESSING_8000 = 8000;
  int PAYMENT_HAS_REFUNDED_9000 = 9000;

  static String translatePaymentStatus(String status) {
    switch (status) {
      case "1000":
        return "待支付";
      case "1500":
        return "未付清";
      case "2000":
        return "已支付";
      case "2010":
        return "免支付";
      case "8000":
        return "处理中";
      case "9000":
        return "已退款";
      default:
        return null;
    }
  }


}
